﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BoutiquePOS
{
    public partial class Login : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public void LoginButton(object sender,EventArgs e)
        {
            if (txtUserName.Value == "admin" && txtPassword.Value == "admin")
            {
                 Response.Redirect("~/UI/AdminU/AdminHome.aspx");
                //Response.Redirect("~/UI/UserUI/UserHome.aspx");
            }
            else
            {
                msgLabel.Text = "Sorry do not match username && Password";
                msgLabel.ForeColor = Color.Red;
            }
        }


    }
}